package com.yanqu.road.dataHelper.action.crossunion;

import com.yanqu.road.dataHelper.gameServer.GameServer;
import com.yanqu.road.entity.servercenter.ServerInfo;
import com.yanqu.road.entity.union.cross.CrossUnionFlag;
import com.yanqu.road.entity.union.parergon.UnionBussinessmanDetail;

import java.util.List;
import java.util.concurrent.Callable;

public class CrossUnionBussinessmanDetailETLCaller implements Callable<List<UnionBussinessmanDetail>> {

    GameServer testGameServer;

    public CrossUnionBussinessmanDetailETLCaller(GameServer testGameServer) {
        this.testGameServer = testGameServer;
    }

    @Override
    public List<UnionBussinessmanDetail> call() throws Exception {

        CrossUnionLogic resource = new CrossUnionLogic(testGameServer);

        return resource.getUnionBussinessmanDetailList();
    }
}
